<?php /* Smarty version 2.6.11, created on 2011-06-22 09:56:36
         compiled from index_man.php */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="style/css/common.css" type="text/css" />
<title>管理区域</title>
</head>

<body>
<div id="man_zone">
  <table width="99%" border="0" align="center"  cellpadding="3" cellspacing="1" class="table_style">
    <tr class="left_title_1">
      <td colspan="2" class="" align="left" style="background:#F3F8F7">我的状态</td>
    </tr>
    <tr align="center">
      <td width="" class="">登录者:<?php echo $this->_tpl_vars['user']['username']; ?>
</td>
      <td width="">所属用户组:<p><?php $_from = $this->_tpl_vars['group']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['val']):
 $this->assign('wid', $this->_tpl_vars['val']['wid']); ?>
        <span style="padding-left:15px"><a href="index.php?m=website&a=attribute&wid=<?php echo $this->_tpl_vars['val']['wid']; ?>
"><?php echo $this->_tpl_vars['websites'][$this->_tpl_vars['wid']]['domain']; ?>
</a> &raquo; <?php echo $this->_tpl_vars['val']['gname']; ?>
</span><br />
        <?php endforeach; endif; unset($_from); ?></p></td>
    </tr>
  </table>
  <br />
  <table width="99%" border="0" align="center"  cellpadding="3" cellspacing="1" class="table_style">
    <tr class="left_title_1">
      <td colspan="2" class="" align="left" style="background:#F3F8F7">快捷菜单</td>
    </tr>

    <tr>
    	<td width="" class="" colspan="2" style="padding-left:15px;">
    <?php $_from = $this->_tpl_vars['mode']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['val']):
?>
        <?php if ($this->_tpl_vars['val']['menu']): ?>
              <?php if (! $this->_tpl_vars['val']['list']): ?><a href="index.php?m=<?php echo $this->_tpl_vars['val']['tbname']; ?>
&a=main" target="mainFrame" list='<?php echo $this->_tpl_vars['val']['list']; ?>
' tbname="<?php echo $this->_tpl_vars['val']['tbname']; ?>
"><?php endif;  echo $this->_tpl_vars['val']['menuname'];  if (! $this->_tpl_vars['val']['list']): ?></a><?php endif; ?>
    
    <?php endif; ?>
    <?php endforeach; endif; unset($_from); ?>
    	</td>
    </tr>
  </table>
  <br />
  <table width="99%" border="0" align="center"  cellpadding="3" cellspacing="1" class="table_style">
    <tr class="left_title_1">
      <td colspan="2" class="" align="left" style="background:#F3F8F7">统计信息</td>
    </tr>
    <tr>
      <td width="" class="">用户数:<?php echo $this->_tpl_vars['users']; ?>
</td>
      <td width="">文档数:<?php echo $this->_tpl_vars['articles']; ?>
</td>
    </tr>
  </table>
  <br />
  <table width="99%" border="0" align="center"  cellpadding="3" cellspacing="1" class="table_style">
    <tr class="left_title_1">
      <td colspan="2" class="" align="left" style="background:#F3F8F7">系统状态</td>
    </tr>
    <tr>
      <td width="" class="">服务器版本: <?php echo $this->_tpl_vars['info']['serverinfo']; ?>
</td>
      <td width="">数据库版本: <?php echo $this->_tpl_vars['info']['dbversion']; ?>
</td>
    </tr>
    <tr>
      <td class="">最大上传附件: <?php echo $this->_tpl_vars['info']['fileupload']; ?>
</td>
      <td>数据库尺寸: <?php echo $this->_tpl_vars['info']['dbsize']; ?>
</td>
    </tr>
    <tr>
      <td class="">Magic_quote_gpc: <?php echo $this->_tpl_vars['info']['magic_quote_gpc']; ?>
</td>
      <td>安全模式: <?php echo $this->_tpl_vars['info']['safe_mode']; ?>
</td>
    </tr>
    <tr>
      <td class="">登录者IP: <?php echo $this->_tpl_vars['info']['ip']; ?>
</td>
      <td>当前时间: <span id="time"></span></td>
    </tr>
    <tr>
      <td class="">程序版本: <?php echo $this->_tpl_vars['info']['v']; ?>
</td>
      <td>当前域名: <?php echo $this->_tpl_vars['info']['domain']; ?>
</td>
    </tr>
  </table>
  <br />
  <table width="99%" border="0" align="center"  cellpadding="3" cellspacing="1" class="table_style">
    <tr class="left_title_1">
      <td colspan="2" class="" align="left" style="background:#F3F8F7">技术支持</td>
    </tr>
    <tr>
      <td width="" class="">开发与支持团队:<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=11405700&site=qq&menu=yes">彭安鹏<img border="0" src="http://wpa.qq.com/pa?p=2:11405700:41" alt="" title=""></a></td>
      <td width="">模板设计:<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=303107710&site=qq&menu=yes">黄思亮<img border="0" src="http://wpa.qq.com/pa?p=2:303107710:41" alt="" title=""></a></td>
    </tr>
  </table>
</div>
<script language=javascript>
function startTime()
{
var today=new Date()
var h=today.getHours()
var m=today.getMinutes()
var s=today.getSeconds()
// add a zero in front of numbers<10
m=checkTime(m)
s=checkTime(s)
document.getElementById('time').innerHTML=h+":"+m+":"+s
t=setTimeout('startTime()',500)
}

function checkTime(i)
{
if (i<10) 
  {i="0" + i}
  return i
}
startTime();
</script>
</script>
</body>
</html>